package com.yang.server.member.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Mu_YI
 * @Date: 2019/6/4 23:07
 * @Version 1.0
 */

@RestController
public class MemberController {

    @Value("${server.port}")
    private String serverPort;

    @GetMapping("/getMember")
    public String getMember(){
        return "this is membe ; Server Port Is:" + serverPort;
    }
}
